home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
NeXTSTEP 3.1 (Developer) [x86]
/
NeXT Step 3.1 Intel dev.cdr.dmg
/
NextDeveloper
/
Examples
/
AppKit
/
Draw
/
graphicsUndo.subproj
/
SendToBackGraphicsChange.m
< prev
next >
Wrap
Text File
|
1992-02-09
|
737b
|
35 lines
#import "drawundo.h"
@interface SendToBackGraphicsChange(PrivateMethods)
- redoDetails;
@end
@implementation SendToBackGraphicsChange
- (const char *)changeName
{
return NXLocalStringFromTable("Operations", "Send To Back", NULL, "The operation of sending all the selected graphical entities to the back of (behind) all other graphical entities.");
}
- redoDetails
{
int count, i;
id detail, graphic;
List *allGraphics;
allGraphics = [graphicView graphics];
count = [changeDetails count];
for (i = 0; i < count; i++) {
detail = [changeDetails objectAt:i];
graphic = [detail graphic];
[allGraphics removeObject:graphic];
[allGraphics addObject:graphic];
}
return self;
}
@end